package com.dnzx.model;

import java.util.Date;

import org.apache.ibatis.type.Alias;
import org.dnzx.framework.orm.LongBaseEntity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@Alias("memberBO")
@ApiModel(value = "Member 会员信息BO")
public class MemberBO extends BaseBO {

	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "邮箱")
    private String email;
	@ApiModelProperty(value = "所属用户ID")
    private Long userId;
	@ApiModelProperty(value = "注册日期")
    private Date registerTime = new Date();
    
    // 以下字段为非数据库字段
    @ApiModelProperty(value="token")
	private String token;// 冗余字段
    @ApiModelProperty(value="密码")
	private String password;// 冗余字段
    @ApiModelProperty(value="验证码")
	private String code;// 冗余字段
    @ApiModelProperty(value = "开始时间")
    private String startTime;
    @ApiModelProperty(value = "结束时间")
    private String endTime;

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getToken() {
		return token;
	}

	public void setToken(String token) {
		this.token = token;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getStartTime() {
		return startTime;
	}

	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}

	public String getEndTime() {
		return endTime;
	}

	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}

	public Date getRegisterTime() {
		return registerTime;
	}

	public void setRegisterTime(Date registerTime) {
		this.registerTime = registerTime;
	}
    
}

